﻿Imports Persistencia
Imports DSControlePadrao
Public Class ctrSegmento
    Inherits ctrPadrao

#Region "Variáveis"
    Private objSegmento As New perSegmento
#End Region

    Public Function retornarSegmentos(ByVal iCodSegmento As Int32, ByVal iTipoMercado As Int32) As DataTable
        Try

            Return objSegmento.retornarSegmentos(iCodSegmento, iTipoMercado)

        Catch ex As Exception

            Throw New Exception("Ocorreu um erro no método retornarSegmentos." & _
                                Environment.NewLine & ex.Message)

        End Try
    End Function


End Class
